package com.dxy.shardingjdbc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dxy.shardingjdbc.mapper.ProductMapper;
import com.dxy.shardingjdbc.model.po.Product;
import com.dxy.shardingjdbc.model.po.ProductInfo;
import com.dxy.shardingjdbc.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商品表(Product)表服务实现类
 *
 * @author dangxianyue
 * @since 2023-02-11 13:30:40
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Override
    public List<ProductInfo> findProductList(String productName) {
        return baseMapper.findProductList(productName);
    }
}

